/* 主页核心内容区域开始 */
/* banner区域开始 */
.banner {

}

.banner-box {
    /* 为所有内部元素做一个定位参照 */
    position: relative;
}

.banner-box>.banner-img {
    /* 由于子元素设置了绝对定位，这里需要将高度撑开 */
    height: 460px;
    cursor: pointer;
}

.banner-box>.banner-img>img {
    height: 460px;
    position: absolute;
    opacity: 0;
}

.banner-box>.banner-img>img:first-child {
    opacity: 1;
}

/* 左右切换按钮的共同样式 */
.banner-box>.banner-prev, .banner-box>.banner-next {
    width: 41px;
    height: 69px;
    /* 背景图片不需要缩小 */
    /* 图片分为4块：0~41px, 42~83, 83~124, 125~166 */
    background-image: url('../img/icon-slides.png');
    position: absolute;
    /* 上边界距离.banner-box上边框的50%（.banner-box的50%高度） */
    top: 50%;
    /* 是自身高度的一半 */
    margin-top: -34.5px;
    cursor: pointer;
}

.banner-box>.banner-prev {
    background-position-x: -83px;
    /* 左侧与侧边栏相接 */
    left: 234px;
}

.banner-box>.banner-prev:hover {
    background-position-x: 0;
}

.banner-box>.banner-next {
    background-position-x: -125px;
    /* 右侧紧挨着banner区域 */
    right: 0;
}

.banner-box>.banner-next:hover {
    background-position-x: -42px;
}

.banner-box>.banner-ico {
    position: absolute;
    right: 30px;
    bottom: 20px;
}

.banner-box>.banner-ico>li {
    float: left;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, .4);
    border: 2px solid hsla(0, 0%, 100%, .4);
    margin: 0 4px;
    cursor: pointer;
}

.banner-box>.banner-ico>li:hover {
    background-color: hsla(0, 0%, 100%, .4);
    border-color: rgba(0, 0, 0, .4);
}

/* 左侧侧边栏 */
.banner-box>.banner-menu {
    width: 234px;
    height: 420px;
    padding: 20px 0;
    color: #FFFFFF;
    background-color: rgba(0, 0, 0, 0.2);
    position: absolute;
    top: 0;
}

.banner-box>.banner-menu>li {
    height: 42px;
    line-height: 42px;
    padding-left: 30px;
    cursor: pointer;
}

.banner-box>.banner-menu>li:hover {
    background-color: #FF6700;
}

.banner-box>.banner-menu>li>a {
    font-size: 14px;
}

.banner-box>.banner-menu>li>.icon-xuanzeqixiayige {
    float: right;
    margin-right: 20px;
}

.banner-box>.banner-menu>li:hover>aside.item-list {
    display: block;
}

/* 右侧扩展区域 */
aside.item-list {
    position: absolute;
    left: 234px;
    top: 0;
    background-color: #FFFFFF;
    /* 均匀分摊4个列中，每个列248px */
    max-width: 992px;
    height: 100%; /* 继承父元素460px */
    overflow: hidden;
    box-shadow: 0 1px 10px 0 rgba(0, 0, 0, 0.2);
    display: none;
}

/* 1列的宽度 */
.item-list-1 {
    width: 248px;
}
/* 2列的宽度 */
.item-list-2 {
    width: 496px;
}
/* 3列的宽度 */
.item-list-3 {
    width: 744px;
}
/* 4列的宽度 */
.item-list-4 {
    width: 992px;
}
aside.item-list>ul {
    float: left;
    width: 248px;
    height: 460px;
    padding: 1px 0;
    border-top: 1px solid #e0e0e0;
    border-bottom: 1px solid #e0e0e0;
}

/* 6个评分ul的高度460px */
aside.item-list>ul>li {
    height: 76px;
}

aside.item-list>ul>li>a {
    display: block;
    height: 40px;
    padding: 18px 20px;
}

aside.item-list>ul>li>a:hover>span {
    color: #FF6700;
}

aside.item-list>ul>li>a>img {
    vertical-align: middle;
    width: 40px;
    height: 40px;
    margin-right: 12px;
}

aside.item-list>ul>li>a>span {
    font-size: 14px;
    height: 40px;
    line-height: 40px;
    vertical-align: middle;
    color: #333333;
    display: inline-block;
    max-width: 151px;
    /* 多余的文字部分隐藏 */
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
/* banner区域结束 */

/* 广告区域开始 */
.ad {
    height: 170px;
    margin: 14px 0 26px;
}

.ad>.wrap>ul {
    float: left;
    background-color: #5f5750;
    width: 228px;
    height: 164px;
    padding: 3px;
    margin-right: 14px;
}

.ad>.wrap>ul>li {
    float: left;
    width: 70px;
    height: 82px;
    padding: 0 3px;
}

.ad>.wrap>ul>li>a {
    color: #FFFFFF;
    font-size: 12px;
    padding-top: 18px;
    display: block;
    height: 52px;
    text-align: center;
    opacity: .7;
}

.ad>.wrap>ul>li:hover>a {
    opacity: 1;
}

.ad>.wrap>ul>li>a>img {
    width: 24px;
    height: 24px;
    margin: 0 auto 4px;
}

/* 右边3个图片 */
.ad>.wrap>a {
    /* 浮动会使元素变为块元素 */
    float: left;
    margin-right: 15px;
    width: 316px;
    height: 170px;
    transition: box-shadow 0.3s linear;
}

.ad>.wrap>a:hover {
    /* a标签的高度通常会比内容的高度大 */
    /* 为了使阴影效果符合我们的预期 */
    /* 可以给a标签设置宽和高 */
    /* 也可以在内部元素中设置阴影 */
    box-shadow: 0 10px 10px 0 rgba(0, 0, 0, 0.15);;
}

.ad>.wrap>a:last-child {
    margin: 0;
}

.ad>.wrap>a>img {
    width: 316px;
    height: 170px;
}

/* 广告区域结束 */

/* 主体区域开始 */
div.main {
    background-color: #f5f5f5;
    /* 这里设置的上内边距是为了不使ad区域和main-top的外边距折叠 */
    padding: 5px 0 10px;
}

/* 单张大图 */
div.main-top {
    margin: 22px 0;
    height: 120px;
}

div.main-top>a {
    display: block;
    height: 120px;
}

div.main-top>a>img {
    width: 1226px;
    height: 120px;
}

/* 手机推荐 */
.phone {
    margin-bottom: 20px;
}

.title {
    height: 58px;
    line-height: 58px;
    font-size: 22px;
    color: #333333;
    font-weight: 200;
}

.title>.more {
    float: right;
    color: #424242;
    font-size: 16px;
}

.title>div.more>a {
    font-weight: normal;
    color: #424242;
    margin-left: 30px;
}

.title>div.more>a.tab-active {
    color: #FF6700;
    padding-bottom: 3px;
    border-bottom: 2px solid #FF6700;
}

.title>a.more:hover {
    color: #FF6700;
}

.title>a.more>.icon-xiayiyehouyiye {
    font-size: 20px;
    vertical-align: middle;
}

.goods-box {
    height: 614px;
    /* 消除子元素浮动带来的一些负面影响 */
    clear: both;
}

.goods-box-left {
    float: left;
    transition: all .3s linear;
}

.goods-box-left:hover {
    box-shadow: 0 10px 15px 0 rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

.goods-box-left>a {
    display: block;
    width: 234px;
    height: 614px;
}

.goods-box-left>a>img {
    width: 234px;
    height: 614px;
}

.goods-box-right {
    float: right;
    width: 992px;
}

.goods-box-right>li {
    float: left;
    width: 234px;
    height: 300px;
    margin: 0 0 14px 14px;
    background-color: #FFFFFF;
    transition: all .3s linear;
}

/* 恢复最后一块的背景 */
.goods-box-right>li.goods-right-last {
    background-color: #f5f5f5;
}

.goods-box-right>li:hover {
    box-shadow: 0 10px 15px 0 rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

/* 取消智能穿戴区域最后一块的悬停效果 */
.goods-box-right>li.goods-right-last:hover {
    box-shadow: none;
    transform: none;
}

.goods-box-right>li>a {
    display: block;
    padding: 20px 0;
    width: 234px;
    height: 260px;
    text-align: center;
}

.goods-box-right>li>a>img {
    width: 160px;
    height: 160px;
    margin-bottom: 18px;
}

.goods-box-right>li>a>.goods-name {
    margin-bottom: 2px;
    font-size: 14px;
    color: #333333;
}

.goods-box-right>li>a>.goods-desc {
    font-size: 12px;
    color: #b0b0b0;
    /* 这里左右外边距给定，是为了限制元素的宽 */
    margin: 0 10px 10px;
    height: 18px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.goods-box-right>li>a>.goods-price {
    color: #FF6700;
    margin: 0 10px 14px;
}

.goods-box-right>li>a>.goods-price>del {
    margin-left: .5em;
    color: #b0b0b0;
}

.smart-wear {
    margin-bottom: 20px;
}

.goods-right-last li {
    height: 93px;
    padding-top: 50px;
    margin-bottom: 14px;
    background-color: #FFFFFF;
    transition: all .3s linear;
}

.goods-right-last li:hover {
    box-shadow: 0 10px 15px 0 rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

.goods-right-last li a img {
    float: right;
    width: 80px;
    height: 80px;
    margin-right: 20px;
    margin-top: -18px; /* 32 - 50 */
}

.goods-right-last li a .goods-name {
    color: #333333;
    font-size: 14px;
    margin: -10px 110px 5px 30px;
}

.goods-right-last li a .goods-price {
    color: #FF6700;
    font-size: 14px;
    margin: 0 110px 0 30px;
}

.goods-right-last li a .more-icon {
    float: right;
    margin-right: 35px;
    margin-top: -2px;
}

.goods-right-last li a .more-icon>.icon-xiangyou2 {
    font-size: 48px;
    line-height: 48px;
    color: #FF6700;
}

.goods-right-last li a .more-text {
    margin: 0 110px 0 30px;
    font-size: 18px;
    color: #333333;
}

.goods-right-last li a .more-text>small {
    display: block;
    font-size: 12px;
    color: #757575;
}

/* 主体区域结束 */
/* 主页核心内容区域结束 */
